package com.asman.vr.dto

import android.os.Parcelable
import androidx.annotation.Keep
import kotlinx.android.parcel.Parcelize

@Keep
data class UserInfoData(
    val mobile: String?,
    val userId: Long?,
    val userName: String?,
    val wechatBind: WechatBind?, //绑定的微信 信息，为null表示没有绑定
    val loginInfo: LoginInfo?,
    var hiredEnterprises: ArrayList<Enterprises>?,//租户列表
    var selectedEnterprise: Enterprises?//当前所需
)

@Keep
data class WechatBind(
    val bindMobile: String?,
    val platform: String?
)

@Keep
data class LoginInfo(val token: String?)

// todo
/*
@Parcelize
@Keep
data class Enterprises(
    val id: Long?,
    val name: String?,
    val domainPrefix: String?
) : Parcelable*/

@Keep
data class Enterprises(
        val id: Long?,
        val name: String?,
        val domainPrefix: String?
)
